package service;

import domain.University;
import exception.BysjException;
import util.Condition;
import util.Pagination;

import java.sql.SQLException;
import java.util.Collection;
import java.util.List;

public interface UniversityServiceInterface {
    public Collection<University> findAll(List<Condition> conditionList, Pagination pagination) throws SQLException, BysjException;
    public boolean add(University university)throws SQLException , BysjException;
    public University find(int id)throws SQLException;
    public boolean update(University university)throws SQLException ,BysjException;
}
